<?php
namespace app\common\validate\Business;

use think\Validate;

// 用户消费记录的验证器
class Visit extends Validate
{
    // require 必填，unique表示该字段在属于唯一字段
    protected $rule =   [
        'adminid'  => 'require',
        'busid'   => 'require',
        'content' => 'require', 
    ];

    protected $message  =   [
        'total.require' => '申请人必填',
        'busid.require'     => '客户必须填写',
        'content.require'   => '回访内容必须填写', 
    ];

}

?>